home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5199 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1010 b   |  32 lines

  1. Newsgroups: comp.lang.c++
  2. Path: news.sprintlink.net!NEWS!not-for-mail
  3. From: (Gooseman)
  4. Subject: Detecting CD-ROM and physical memory
  5. Message-ID: <227cc$12192.31e@NEWS>
  6. Date: Fri, 02 Feb 1996 23:26:03 GMT
  7. X-Newsreader: Forte Free Agent 1.0.82
  8.  
  9. I have written a 16-bit DLL (Borland C++ 4.52) to be called from
  10. Visual Basic 4.0.  All of the functions work properly, except for two
  11. of them:
  12.  
  13. 1)  I need to be find out if the user has a CD-ROM drive.  Under
  14. Win32, I could just use GetDriveType() for drives A: - J: (K: is our
  15. first network drive).
  16.  
  17. 2) I need to find out how much PHYSICAL memory the user's system has.
  18. The only calls I have found return all memory (physical and swap).
  19. Again, if I could use Win32, that would be rather painless.  Too bad I
  20. have to be stuck with Win16...
  21.  
  22. PLEASE HELP!  I need to roll this module out as soon as possible.
  23. (email responses would be best)
  24.  
  25. Thanks,
  26.  
  27. Bob Johnson - Eagan, McAllister Associates, Inc.
  28. johnsonb@atc.ameritel.net
  29. johnsonb.eodtc@eodmgate.navsea.navy.mil
  30.  
  31.  
  32.